home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Communication
/
Weather
/
Weather.app
/
Other.bundle
/
getMap
< prev
next >
Wrap
Text File
|
1993-11-14
|
500b
|
26 lines
#! /bin/csh -f
# fetch and open weather map file(s) from unidata.ucar.edu:images/...
set m = 128.117.140.3 # unidata.ucar.edu
set p = images/current.color # path to weather maps
set t = /tmp/W_maps # temporary place for files
set o = /tmp/console.log # output logfile
mkdirs $t
cd $t
ftp -i -n $m <<eof
user anonymous guest
bin
cd $p
mget $*
eof
foreach i ($*)
test -s $i
if ($status) then
echo "Couldn't get weather map $i" | open
else
open $i
endif
end